<!DOCTYPE html>
<html lang="en" xmlns="http:/www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页</title>
</head>
<body>
    <h1>Home</h1>
    <p th:text="${msg}"></p>

    <hr>
    <a th:href="@{/toLogin}">login</a>
    <a th:href="@{/user/add}">add</a>
    <a th:href="@{/user/update}">update</a>
</body>
</html>